package demo.genericity.generator;

/**
 * 咖啡类
 *
 * @author sun.ye
 * @since 2020-07-05 19:56
 */
public class Coffee {

    private static long counter = 0;
    private final  long id = counter++;

    @Override
    public String toString() {
        return getClass().getSimpleName()+ "-" +id;
    }
}